<template>
 <div id="app">
    {{1 | fmtGender}}
    <button v-color>太阳</button>
    <sb-btn>襄阳</sb-btn>
    <sb-btn bg="yellow">梦想</sb-btn>
    <hr>
    <router-link to="/login">登录</router-link>
    <router-link to="/home">主页</router-link>
    <router-view></router-view>
 </div>
</template>

<script>
 export default {
   name: '',
   created(){
  
       this.$get('/user',{username:'zhangshan'}).then(res=>{
           console.log(res)
       })
   }
 }
</script>

<style>
 #nprogress .bar {
      background: red !important; 
      height: 5px !important;
    }
</style>
